#ifndef __LED_H__
#define __LED_H__

#ifndef __IO_H__
#error "You need to include <hw/io.h>"
#endif 

namespace HW {
    class Led {
    private:
        volatile uint8_t *_DDR;
        volatile uint8_t *_PORT;
        uint8_t _bit;
        
    public:        
        Led(enum eBank bank, uint8_t bit);
        
        bool status(void);
        void shine(void);
        void clear(void);
    };
}

#endif /*__LED_H__*/
